<template>
  <div>
    <Form style="margin: 40px auto 0;">
      <result title="操作成功" :is-success="true" description="预计两小时内到账" style="max-width: 560px;">
        <div class="information">
          <Row>
            <Col :sm="8" :xs="24">付款账户：</Col>
            <Col :sm="16" :xs="24">ant-design@alipay.com</Col>
          </Row>
          <Row>
            <Col :sm="8" :xs="24">收款账户：</Col>
            <Col :sm="16" :xs="24">test@example.com</Col>
          </Row>
          <Row>
            <Col :sm="8" :xs="24">收款人姓名：</Col>
            <Col :sm="16" :xs="24">辉夜</Col>
          </Row>
          <Row>
            <Col :sm="8" :xs="24">转账金额：</Col>
            <Col :sm="16" :xs="24"><span class="money">500</span> 元</Col>
          </Row>
        </div>
        <div slot="action">
          <Button type="primary" @click="finish">再转一笔</Button>
          <Button style="margin-left: 8px" @click="toOrderList">查看账单</Button>
        </div>
      </result>
    </Form>
  </div>
</template>

<script>
import { Result } from '@/components'

export default {
  name: 'Step3',
  components: {
    Result
  },
  data () {
    return {
      loading: false
    }
  },
  methods: {
    finish () {
      this.$emit('finish')
    },
    toOrderList () {
      this.$router.push('/list/table-list')
    }
  }
}
</script>
<style lang="less" scoped>
  .information {
    line-height: 22px;
  }
  .money {
    font-family: "Helvetica Neue",sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 14px;
  }
</style>
